<?php

		class ClassViewModel extends ViewModel {
			public $viewFields = array (
					'class' => array('id','classname','tid','pid'),
					'type'  =>array('name'=>'typename','_on'=>'class.tid=type.id')
				);
		}

?>